package com.lxh.eurekafeign.common.api;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@Api(value = "测试服务器数据")
@FeignClient(name = "eureka-feign-server")
public interface TestService {

    @GetMapping(value = "/getAuthorName")
    @ApiOperation(value = "测试数据", httpMethod = "GET")
    String getName();
}
